const express = require('express');
const router = express.Router();
const { getNetClound, postNetClound } = require('../util/util');
router.get('/', (req, res) => {
	getNetClound({ url: '/discover/playlist/?order=hot&cat=%E5%85%A8%E9%83%A8&limit=35&offset=35' })
		.then(body => {
			console.log(body);
			res.json(body);
		})
		.catch(error => {
			console.log(error);
			res.json(error);
		});
});
module.exports = router;
